<!-- inc:frame.top -->

<div class="position"><p><!-- inc:position --> &raquo; <a href="{:$mainlink}?file=upfiles&act=list">文件管理</a> &raquo; 空间信息</p><!-- inc:position.fr --></div>

<!-- if($act=="view") -->
<div class="page_pad">
  <div class="content_box">
    <div class="content_bor">
      <table class="ctable">
        <tr>
          <td class="left">空间容量：</td>
          <td class="right">{:$sp_all_d}</td>
        </tr>
        <tr>
          <td class="left">已使用容量：</td>
          <td class="right">{:$sp_use_d}</td>
        </tr>
        <tr>
          <td class="left">剩余容量：</td>
          <td class="right">{:$sp_lav_d}</td>
        </tr>
        <tr>
          <td class="left">图表：</td>
          <td class="right">
            <table class="ntable" style="width:400px;">
              <tr>
                <td width="100"><span>空间容量</span></td>
                <td width="300"><div class="space_div"><span class="space_span space_all"><span class="space_num">100%</span></span></div></td>
              </tr>
              <tr>
                <td><span>已使用容量</span></td>
                <td><div class="space_div"><span class="space_span space_use" style="width:{:$sp_use_b};"><span class="space_num">{:$sp_use_b}</span></span></div></td>
              </tr>
              <tr>
                <td><span>剩余容量</span></td>
                <td><div class="space_div"><span class="space_span space_lav" style="width:{:$sp_lav_b};"><span class="space_num">{:$sp_lav_b}</span></span></div></td>
              </tr>
            </table>
          </td>
        </tr>
        <!-- if($_SESSION[admin][typer] == "system") -->
        <tr>
          <td class="left">&nbsp;</td>
          <td class="right"><button class="gbutton" type="button" onclick="qgurl('{:$mainlink}?file=space&act=modify')">修改信息</button>&nbsp;<button class="gbutton" type="button" onclick="qg_delfolder()">刷新信息</button></td>
        </tr>
		<script type="text/javascript">
		function qg_delfolder()
		{
			qgurl("{:$mainlink}?file=space&act=delete");
		}
        </script>
        <!-- end -->
      </table>
    </div>
  </div><!--content_box-->
</div><!--page_pad-->

<!-- elseif($act=="modify") -->
<div class="page_pad">
  <form name="qgform" id="qgform" method="post" action="{:$mainlink}?file=space&act=set">
  <div class="content_box">
    <div class="content_bor">
      <table class="ctable">
        <tr>
          <td class="left">客户使用的空间容量：</td>
          <td class="right"><input class="ginput" id="can1" name="can1" type="text" value="{:$can1}" />MB</td>
        </tr>
        <tr>
          <td class="left">默认增加的虚拟大小：</td>
          <td class="right"><input class="ginput" id="can2" name="can2" type="text" value="{:$can2}" />MB</td>
        </tr>
        <tr>
          <td class="left">&nbsp;</td>
          <td class="right"><table><tr><td><button class="gbutton" type="submit">提交</button>&nbsp;</td><td><button class="gbutton" type="button" onclick="qgurl('{:$mainlink}?file=space&act=view')">返回</button></td></tr></table></td>
        </tr>
      </table>
    </div>
  </div><!--content_box-->
  </form>
</div><!--page_pad-->
<!-- end -->

<!-- inc:frame.bottom -->